package cn.edu.zut.model;

import org.springframework.context.annotation.Scope;
import org.springframework.stereotype.Component;

@Component
@Scope("prototype")
public class Student {
    private String id;
    private String name;
    private String sex;
    private float grand;


    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getsex(String woman) {
        return sex;
    }

    public void setsex(String sex) {
        this.sex = sex;
    }

    public float getgrand() {
        return grand;
    }

    public void setgrand(float grand) {
        this.grand = grand;
    }


    @Override
    public String toString() {
        return "Student{" +
                "id='" + id + '\'' +
                ", name='" + name + '\'' +
                ", sex=" + sex + '\'' +
                ", grand=" + grand +

                '}';
    }
}
